]> dgit.raspbian.org Git - gnome-shell.git/commit
st-scroll-view-fade: Include outer bound of pixel on border
authorJonas Ådahl <jadahl@gmail.com>
Fri, 20 Oct 2017 04:10:58 +0000 (06:10 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 1 Mar 2019 17:12:52 +0000 (17:12 +0000)
commit6bc3300e5a3d828be546149df9adf77bf6c2efd6
treeed9d341c04facb84faf07619c57bea07e5add077
parent15f69bdc3b23e9c652aa4c72e16050f594abd526
st-scroll-view-fade: Include outer bound of pixel on border

The fade shader will draw the fade effect up until the border pixel. If
we set the bottom right coordinate to the outer edge of the pixel we
might end up not drawing the fade effect on all of the pixels. This
could for example happen if one logical pixel (clutter stage pixel)
consists of more than one physical pixel.

https://bugzilla.gnome.org/show_bug.cgi?id=765011
src/st/st-scroll-view-fade.c